﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Nav.ascx.cs" Inherits="UserControls_Nav" %>
<!-- sidebar begin -->
<div id="sidebar">

	<div id="sidebar_title">
		<h1>blogAdmin</h1>
	</div>

	<div id="profile_links">
		Welcome，<a href="MainPage.aspx"><%=currentUser %></a><br />
        您有<a href="Leaveword.aspx?news=noVerify">&nbsp;<%=newLeaveword %>&nbsp;</a>条留言，<a href="Review.aspx?news=noRead"><%=newReview%>&nbsp;</a>条评论<br />
        <a href="<%=loginLogLink %>" target="_blank">登录日志</a>&nbsp;&nbsp;|&nbsp;&nbsp;<asp:LinkButton ID="btnExit" runat="server" onclick="btnExit_Click">安全退出</asp:LinkButton>
	</div>

	<ul id="main_nav">
        <%=__NavHtml.ToString()%>
	</ul>
        
<!-- sidebar end -->
</div>
<%--
<script type="text/javascript">
    window.history.forward(1);
</script>
--%>